# Contributor: Roberto Oliveira <robertoguimaraes8@gmail.com>
# Maintainer: Roberto Oliveira <robertoguimaraes8@gmail.com>
pkgname=lrzsz
pkgver=0.12.20
pkgrel=2
pkgdesc="Unix communication package providing the XMODEM, YMODEM ZMODEM file transfer protocols"
url="https://ohse.de/uwe/software/lrzsz.html"
arch="all"
license="GPL-2.0-or-later"
subpackages="$pkgname-doc"
source="https://ohse.de/uwe/releases/lrzsz-$pkgver.tar.gz"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--mandir=/usr/share/man
	make
}

check() {
	make check
}

package() {
	make install -j1 DESTDIR="$pkgdir"
}

sha512sums="9bce64036f1f1c65f5910f19802aecaf3dc5ffeab0feeca10fa8d2fe1b83e212391cce23056d22fd0eda52df89e12ede68eb5d22ffcf22f935910d2af7399f12  lrzsz-0.12.20.tar.gz"
